cssnode: Redo style changed tracking
authorBenjamin Otte <otte@redhat.com>
Wed, 25 Feb 2015 17:05:07 +0000 (18:05 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 18 Mar 2015 14:23:32 +0000 (15:23 +0100)
commit68b8f792d6edb7e5e67dbbba0991ce7dc1a7a449
tree16dcb9f0d51ad1e215b5a24ae1e2503b3f905a7c
parent776d99ac516ca9754647bb3a582c53c07cd5c3cf
cssnode: Redo style changed tracking

We don't return a NULL style to mean "no changes" anymore, instead
we check new_style == old_style to mean that.

Make sure the code reflects this, otherwise we'll send
GTK_CSS_CHANGE_PARENT_STYLE invalidations everywhere and screw up
performance.
gtk/gtkcssnode.c